package com.ftg.product.exam.vo;

import com.diboot.core.binding.annotation.*;
import com.ftg.product.exam.entity.BaseClazz;
import com.ftg.product.exam.entity.SysEmployee;
import com.ftg.product.exam.entity.SysOrganizations;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.List;

/**
* 班级信息表 ListVO定义
* @author kangjx
* @version 1.0
* @date 2021-01-15
 * Copyright © ftg
*/
@Getter @Setter @Accessors(chain = true)
public class BaseClazzListVO extends BaseClazz  {
    private static final long serialVersionUID = -6761668466623837347L;

    /** 
    * 关联字典：CLAZZID
    */
    @BindDict(type=DICT_CLAZZID, field="clazzcode")
    private String clazzcodeLabel;

    /** 
    * 关联字段：SysEmployee.empname
    */
    @BindField(entity = SysEmployee.class, field = "empname", condition = "this.teacode=id")
    private String teacodeEmpname;

    /** 
    * 关联字段：SysOrganizations.orgname
    */
    @BindField(entity = SysOrganizations.class, field = "orgname", condition = "this.orgcode=id")
    private String orgcodeOrgname;

}